home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / AMOSList / AMOSLIST.0997 / 000330_amos-request@svcs1.digex.net_Sat Sep 27 14:46:06 1997.msg < prev    next >
Text File  |  1997-10-01  |  4KB  |  94 lines

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  2.     by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id OAA05150
  3.     for <mcox@access.digex.net>; Sat, 27 Sep 1997 14:46:05 -0400 (EDT)
  4. Received: (from daemon@localhost)
  5.     by svcs1.digex.net (8.8.5/8.8.5) id NAA13693
  6.     for amos-out; Sat, 27 Sep 1997 13:01:21 -0400 (EDT)
  7. Received: from mail4.access.digex.net (mail4.access.digex.net [205.197.247.2])
  8.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id NAA13690
  9.     for <amos-list@svcs1.digex.net>; Sat, 27 Sep 1997 13:01:20 -0400 (EDT)
  10. Received: from mail.redrose.net (qmailr@mail.redrose.net [204.249.184.22])
  11.     by mail4.access.digex.net (8.8.5/8.8.5) with SMTP id NAA07512
  12.     for <amos-list@access.digex.net>; Sat, 27 Sep 1997 13:01:20 -0400 (EDT)
  13. Received: (qmail 31732 invoked from network); 27 Sep 1997 17:01:10 -0000
  14. Received: from lp3-19.redrose.net (HELO redrose.net) (mushy-pd@205.246.86.211)
  15.   by mail.redrose.net with SMTP; 27 Sep 1997 17:01:10 -0000
  16. From: Mush <mushypd@redrose.net>
  17. Reply-To: mushypd@redrose.net
  18. To: "Mr. Giark To You" <joehick@golden.net>
  19. CC: amos-list@access.digex.net
  20. Date: Sat, 27 Sep 1997 12:50:35 +0500
  21. Message-ID: <yam7209.1771.4590096@mail.redrose.net>
  22. In-Reply-To: <yam7209.1198.5564672@huron.net>
  23. X-Mailer: YAM 1.3.4 [020] - Amiga Mailer by Marcel Beck
  24. Organization: Mushroom PD - AMOS Public Domain Library
  25. Subject: Re: Help
  26. MIME-Version: 1.0
  27. Content-Type: text/plain
  28. Status: O
  29. X-Status: 
  30.  
  31. The man most directly responsible for this twaddle was Mr. Giark To You, who
  32. did thus comment on Help on the night of 27-Sep-97:
  33. -> Once you have a listview array going, how do you delete items from it? The
  34. gui
  35. -> set command looks like the one, but how does it owrk? Pietro's docs suck.
  36.  
  37. OK, i'll reply back to the list with this one also, as its quite an
  38. interesting
  39. subject to work from.
  40.  
  41. The GUI Extension (as we know) has an excellent function of being able to
  42. display a rather good set of listviews, all completely independant of
  43. themselves. One of the features which wasnt covered with the above extension,
  44. was removing Items from it.
  45.  
  46. The removal process is really quite simple, you must simply remove the item
  47. from
  48. the array in which you are mirroring, and move the next item down up to where
  49. the old one is, otherwise it will mess up the variables of the listview, for
  50. example, my array could be :
  51.  
  52.    1
  53.    2
  54.    3
  55.    4
  56.    5
  57.  
  58. And I want to remove line 3, so I would make the position in the array null,
  59. and
  60. move everything up, so the array would look like:
  61.  
  62.    1
  63.    2
  64.    4
  65.    5
  66.  
  67. Also remember, that the array MUST start at position 0 in the listview, and if
  68. you leve a blank line in between lines, even though you are clicking on them
  69. in
  70. the listview, it skips blanks when drawing, and doesnt incrememnt its position
  71. in the array, so if the first 3 lines were blank, followed by some text, then
  72. the first line in the listview would be the first line of text, and clicking
  73. on
  74. it, using GUI READ to get where in the listview it is, would return 0 as your
  75. hitting the first item on display.
  76.  
  77. Using the above method is OK, but you must proceed to re-display the listview
  78. in
  79. order for it to be displayed on the screen correctly.
  80.  
  81. If anyone has anymore questions about the GUI extension, please feel free to
  82. ask
  83. me about them.
  84.  
  85. Andrew "Mushroom" Kellett
  86. --
  87.  Email: Andy Kellett <mushypd@redrose.net>  Team *AMOS* + IAPA Team *AMIGA*
  88.   alt.religion.amos - AMOS now on usenet! AMOS Mailinglist also mirrored
  89.  
  90.      World's Largest AMOS Homepages - http://www.mushy-pd.demon.co.uk
  91.  
  92.          Massive FTP site with AMOS/C64 and Mods/Samples + more at
  93.                             mushy-pd.dyn.ml.org
  94.